import http from "@/plugins/http";

class WxGateRecord {
  constructor() {
    this.basic_url = "/wx-gate-record";
  }

  query(id, begin, end, page, pageSize, then) {
    http.get(
      this.basic_url +
        http.makeParams({
          id: id,
          begin: begin,
          end: end,
          page: page,
          pageSize: pageSize
        }),
      then
    );
  }
}

export default WxGateRecord;
